How much can I do for free?

/** Summary of my problem Brief reasons for picking Cloudflare Outline next steps */

After leaving my last job where everything was self-hosted on debian machines, I've decided to try some serverless solutions. If I do end up doing contracting I expect many clients won't have a dedicated server, and I won't want to be on the hook for maintaining one. Cloudlfare covers almost every tech service a small site would need under a single umbrella.

After some review, I dedided to go all in on Cloudflare despite their recent issues. The largest deciding factor was their worker platform and their wide array of free services.

The Setup

Pages for static sites

I made my own static site generator, so this is just covering the most basic case of uploading files to Cloudflare Pages. You can upload manually from the browser, via their wrangler tool, or by connecting to a git repo. At first I avoided using git since it was just an extra thing, but changed my mind since that is how I plan to manage workers so it will be simpler to keep things consistent. It will also make reverting changes easier when I mistakenly push a bad update

Some good limits to keep in mind.

REFS


I'm currently working on a static site generator for this blog, but I will leave the details for that for a another time. Essentially all I want is a command that will sync the site automatically. The two options I see are:

The default choice is to avoid the extra piece infra, and not use github. This does mean that I have to install the cloudflare CLI stuff on my machine.

Workers for API

Workers

Initially I wasn't even going to write a post for this, but I quickly ran into issues with the worker setup following their guide. I went throught the steps and then tried to run npx wrangler deploy. It redirected to a cloudflare url but there was a flash of two error messages before it opened up the auth prompt.

API Request Failed: GET /api/v4/zones?type=full,partial,secondary (undefined) API Request Failed: GET /api/v4/zones?parent.id=null (undefined)

Building via Cloudflare

I was able to get the worker running by creating a github repo, pushing to that and then linking it to cloudflare. Then running the build on their website. Trying to do the build locally still results in the same errors.